﻿using System.Web;
using System.Web.Optimization;

namespace DormMS
{
    public class BundleConfig
    {
        // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            // Application Scripts
            bundles.Add(new ScriptBundle("~/bundles/appScripts")
                .IncludeDirectory("~/Scripts/app", "*.js", true));

            // Base Scripts (not lazyloaded)
            bundles.Add(new ScriptBundle("~/bundles/baseScripts").Include(

            "~/Vendor/modernizr/modernizr.js",
            "~/Vendor/jquery/dist/jquery.js",
            "~/Vendor/angular/angular.js",
            "~/Vendor/angular-route/angular-route.js",
            "~/Vendor/angular-cookies/angular-cookies.js",
            "~/Vendor/angular-animate/angular-animate.js",
            "~/Vendor/angular-touch/angular-touch.js",
            "~/Vendor/angular-ui-router/release/angular-ui-router.js",
            "~/Vendor/ngstorage/ngStorage.js",
            "~/Vendor/angular-ui-utils/ui-utils.js",
            "~/Vendor/angular-sanitize/angular-sanitize.js",
            "~/Vendor/angular-resource/angular-resource.js",
            "~/Vendor/angular-translate/angular-translate.js",
            "~/Vendor/angular-translate-loader-url/angular-translate-loader-url.js",
            "~/Vendor/angular-translate-loader-static-files/angular-translate-loader-static-files.js",
            "~/Vendor/angular-translate-storage-local/angular-translate-storage-local.js",
            "~/Vendor/angular-translate-storage-cookie/angular-translate-storage-cookie.js",
            "~/Vendor/oclazyload/dist/ocLazyLoad.js",
            "~/Vendor/angular-bootstrap/ui-bootstrap.min.js",
            "~/Vendor/angular-bootstrap/ui-bootstrap-tpls.js",
            "~/Vendor/angular-loading-bar/build/loading-bar.js",
            "~/Vendor/angular-dynamic-locale/dist/tmhDynamicLocale.js",

            ////classyloader
            //"~/Vendor/jquery-classyloader/js/jquery.classyloader.min.js",
            ////animo
            //"~/Vendor/animo.js/animo.js",
            ////fastclick
            //"~/Vendor/fastclick/lib/fastclick.js",
            ////modernizr
            //"~/Vendor/modernizr/modernizr.js",
            ////icons
            //"~/Vendor/skycons/skycons.js",
            ////sparklines
            //"~/Vendor/sparklines/jquery.sparkline.min.js",
            ////wysiwyg
            //"~/Vendor/bootstrap-wysiwyg/bootstrap-wysiwyg.js",
            //"~/Vendor/bootstrap-wysiwyg/external/jquery.hotkeys.js",
            ////slimscroll
            //"~/Vendor/slimScroll/jquery.slimscroll.min.js",
            ////screenfull
            //"~/Vendor/screenfull/dist/screenfull.js",
            ////vector-map
            //"~/Vendor/ika.jvectormap/jquery-jvectormap-1.2.2.min.js",
            ////vector-map-maps
            //"~/Vendor/ika.jvectormap/jquery-jvectormap-world-mill-en.js",
            //"~/Vendor/ika.jvectormap/jquery-jvectormap-us-mill-en.js",
            ////loadGoogleMapsJS
            //"~/Vendor/gmap/load-google-maps.js",
            //flot-chart
            "~/Vendor/Flot/jquery.flot.js",
            //flot-chart-plugins
            "~/Vendor/flot.tooltip/js/jquery.flot.tooltip.min.js",
            "~/Vendor/Flot/jquery.flot.resize.js",
            "~/Vendor/Flot/jquery.flot.pie.js",
            "~/Vendor/Flot/jquery.flot.time.js",
            "~/Vendor/Flot/jquery.flot.categories.js",
            "~/Vendor/flot-spline/js/jquery.flot.spline.min.js",
            ////'jquery-ui
            //"~/Vendor/jquery-ui/ui/core.js",
            //    "~/Vendor/jquery-ui/ui/widget.js",
            ////jquery-ui-widgets
            //"~/Vendor/jquery-ui/ui/core.js",
            //    "~/Vendor/jquery-ui/ui/mouse.js",
            //    "~/Vendor/jquery-ui/ui/widget.js",
            //    "~/Vendor/jquery-ui/ui/draggable.js",
            //    "~/Vendor/jquery-ui/ui/droppable.js",
            //    "~/Vendor/jquery-ui/ui/sortable.js",
            //    "~/Vendor/jqueryui-touch-punch/jquery.ui.touch-punch.min.js",
            ////moment
            //"~/Vendor/moment/min/moment-with-locales.min.js",
            ////inputmask
            //"~/Vendor/jquery.inputmask/dist/jquery.inputmask.bundle.min.js",
            ////flatdoc
            //"~/Vendor/flatdoc/flatdoc.js",
            ////codemirror
            //"~/Vendor/codemirror/lib/codemirror.js",
            ////codemirror-modes-web
            //"~/Vendor/codemirror/mode/javascript/javascript.js",
            //    "~/Vendor/codemirror/mode/xml/xml.js",
            //    "~/Vendor/codemirror/mode/htmlmixed/htmlmixed.js",
            //    "~/Vendor/codemirror/mode/css/css.js",
            ////filestyle
            //"~/Vendor/bootstrap-filestyle/src/bootstrap-filestyle.js",
            ////parsley
            //"~/Vendor/parsleyjs/dist/parsley.min.js",
            ////fullcalendar
            //"~/Vendor/fullcalendar/dist/fullcalendar.min.js",
            ////gcal
            //"~/Vendor/fullcalendar/dist/gcal.js",
            //chartjs
            "~/Vendor/Chart.js/Chart.js",
            ////morris
            //"~/Vendor/raphael/raphael.js",
            //"~/Vendor/morris.js/morris.js",

            ////angularBootstrapNavTree
            //"~/Vendor/angular-bootstrap-nav-tree/dist/abn_tree_directive.js",





            //taginput
            "~/Vendor/bootstrap-tagsinput/dist/bootstrap-tagsinput.min.js",
            //toaster
            "~/Vendor/angularjs-toaster/toaster.js",
            //summernote
            "~/Vendor/summernote/bootstrap.min.js",
            "~/Vendor/summernote/summernote.js",
            "~/Vendor/summernote/angular-summernote.min.js",
            //ngTableExport
            "~/Vendor/ng-table-export/ng-table-export.js",
            //ngcsv
            "~/Vendor/ng-csv/ng-csv.js",
            //datetimepicker
             "~/Vendor/datetimepicker/datetime-picker.js",
             "~/Vendor/datetimepicker/ui-bootstrap-tpls.js",
            //angularFileUpload
            "~/Vendor/angular-file-upload/angular-file-upload.js",
            //ngImgCrop
            "~/Vendor/ng-img-crop/compile/unminified/ng-img-crop.js",


            "~/Vendor/ngDialog/js/ngDialog.min.js",
            "~/Vendor/ng-table/dist/ng-table.min.js"

            ));

            bundles.Add(new StyleBundle("~/bundles/appStyles")
                    .Include("~/Content/app/app.css"));

            bundles.Add(new StyleBundle("~/bundles/bootstrapStyles").Include(
                    "~/Content/app/bootstrap.css",

                    "~/Vendor/ngDialog/css/ngDialog.min.css",
                    "~/Vendor/ngDialog/css/ngDialog-theme-default.min.css",
                    "~/Vendor/ngDialog/css/ngDialog-theme-plain.min.css",
                    "~/Vendor/ng-table/dist/ng-table.min.css",
                    //whirl
                    "~/Vendor/whirl/dist/whirl.css",
                    //taginput
                    "~/Vendor/bootstrap-tagsinput/dist/bootstrap-tagsinput.css",
                    //toaster
                    "~/Vendor/angularjs-toaster/toaster.css",
                    //summernote
                    "~/Vendor/summernote/summernote.css",
                    //ngImgCrop
                    "~/Vendor/ng-img-crop/compile/unminified/ng-img-crop.css"




                   
                    ////animate
                    //"~/Vendor/animate.css/animate.min.css",
                    ////icons
                    //"~/Vendor/fontawesome/css/font-awesome.min.css",
                    //"~/Vendor/simple-line-icons/css/simple-line-icons.css",
                    //"~/Vendor/weather-icons/css/weather-icons.min.css",
                    ////vector-map
                    //"~/Vendor/ika.jvectormap/jquery-jvectormap-1.2.2.css",
                    ////codemirror
                    //"~/Vendor/codemirror/lib/codemirror.css",
                    ////fullcalendar
                    //"~/Vendor/fullcalendar/dist/fullcalendar.css",
                    ////morris
                    //"~/Vendor/morris.js/morris.css",
                    ////loaders.css
                    //"~/Vendor/loaders.css/loaders.css",
                    ////spinkit
                    //"~/Vendor/spinkit/css/spinkit.css",

                    ////angularBootstrapNavTree
                    //"~/Vendor/angular-bootstrap-nav-tree/dist/abn_tree.css"

                    ));
        }
    }
}
